package com.boarsoft.webapp.mock;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * HTTP挡板接口
 * 
 * @author Mac_J
 *
 */
public interface HttpMocker {

	/**
	 * HTTP挡板接口mock方法
	 * 
	 * @param req
	 *            HTTP请求
	 * @param rsp
	 *            HTTP响庆
	 * @throws IOException
	 * @return 是否mock成功
	 */
	boolean mock(HttpServletRequest req, HttpServletResponse rsp) throws IOException;
}